package com.bigdata.movieticketapi.vo.resp;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

@Data
public class MovieSessionDetailRespVO {
    @ApiModelProperty("已售座位")
    private List<SoldMovieSeatRespVO> soldMovieSeat;

    @ApiModelProperty("场次id")
    private Integer id;

    @ApiModelProperty("排")
    private Integer seatRow;

    @ApiModelProperty("列")
    private Integer seatColumn;

    @ApiModelProperty("影厅名称")
    private String name;

    @ApiModelProperty("电影名称")
    private String movieName;

    @ApiModelProperty("电影开场时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;

    @ApiModelProperty("电影结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;

    @ApiModelProperty("价格")
    private BigDecimal price;

    @ApiModelProperty("形式")
    private String format;
}
